package com.example.zkWebClient.service;

import java.util.List;

import org.apache.zookeeper.KeeperException;

import com.example.zkWebClient.domain.ZNode;

public interface NodeService {
	List<String> findChildNodes(String path);
	
	int getCountOfChildNodes(String path);
	
	ZNode getNode(String path);

	String addNode(ZNode node) throws KeeperException, InterruptedException;

	void delNode(String path) throws InterruptedException, KeeperException;

	void updateNode(ZNode node) throws KeeperException, InterruptedException;
}
